package com.taysear.domain;

import java.io.Serializable;

@SuppressWarnings("serial")
public class RouteDetail implements Serializable{

	private Integer routeDetailId;
	private Route route;
	private Substation substation;
	private Boolean isStartEnd;
	
	public Integer getRouteDetailId() {
		return routeDetailId;
	}
	public void setRouteDetailId(Integer routeDetailId) {
		this.routeDetailId = routeDetailId;
	}
	public Route getRoute() {
		return route;
	}
	public void setRoute(Route route) {
		this.route = route;
	}
	public Substation getSubstation() {
		return substation;
	}
	public void setSubstation(Substation substation) {
		this.substation = substation;
	}
	public Boolean getIsStartEnd() {
		return isStartEnd;
	}
	public void setIsStartEnd(Boolean isStartEnd) {
		this.isStartEnd = isStartEnd;
	}
	@Override
	public String toString() {
		return substation.getName();
	}
}
